@tool
extends Sprite2D


func _ready() -> void:
	_zoom_chaged()
	

func _process(delta: float) -> void:
	_zoom_chaged()


func _zoom_chaged():
	material.set_shader_parameter("y_zoom",get_viewport_transform().get_scale().y)
	#material.set_shader_parameter("y_zoom",-4)
